<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

  <head th:replace="include/head::head"></head>

  <body class="login">
    <div>
      <a class="hiddenanchor" id="signup"></a>
      <a class="hiddenanchor" id="signin"></a>

      <!--登录模块 -->
      <div class="login_wrapper">
        <div class="animate form login_form">
          <section class="login_content">
            <form th:action="@{/loginForm}" method="post">
              <h1>Welcome Back</h1>
              <div>
                <input type="text" class="form-control " placeholder="邮箱/用户名" required="required" name="Username"/>
              <div>
                <input type="password" class="form-control" placeholder="密码" required="required" name="Password"/>
              </div>
              <div class="checkbox">
                <label class="">
                  <div class="icheckbox_flat-green checked" style="position: relative;">
                    <input type="checkbox" class="flat"  style="position: absolute; opacity: 0;" name="remember">
                  </div>
                  <span style="user-select: none">记住密码</span>
                </label>
              </div>
              <div>
                <button class="btn btn-default submit" href="index.html">登录</button>
              </div>

              <div class="clearfix"></div>

              <div class="separator">
                <p class="change_link">New to site?
                  <a href="#signup" class="to_register"> 注册新账户 </a>
                </p>

                <div class="clearfix"></div>
                <br />

                <div>
                  <h1><i class="fa fa-university"></i> 软件工程试卷智能生成系统</h1>
                  <p>©2020 All Rights Reserved. </p>
                </div>
              </div>
              </div>
            </form>
          </section>
        </div>

        <!--注册模块-->
        <div id="register" class="animate form registration_form">
          <section class="login_content">
            <form>
              <h1>Create Account</h1>
              <div>
                <input type="text" class="form-control" placeholder="用户名" required="required" />
              </div>
              <div>
                <input type="email" class="form-control" placeholder="邮箱" required="required" />
              </div>
              <div>
                <input type="password" class="form-control" placeholder="密码" required="required" />
              </div>
              <div>
                <input type="password" class="form-control" placeholder="确认密码" required="required" />
              </div>
              <div>
                <button class="btn btn-default submit" href="index.html">注册</button>
              </div>

              <div class="clearfix"></div>

              <div class="separator">
                <p class="change_link">Already a member ?
                  <a href="#signin" class="to_register"> 登录</a>
                </p>

                <div class="clearfix"></div>
                <br />


                <div>
                  <h1><i class="fa fa-university"></i> 软件工程智能组卷系统</h1>
                  <p>©2020 All Rights Reserved. </p>
                </div>
              </div>
            </form>
          </section>
        </div>
      </div>
    </div>

    <div th:replace="include/javascript::javascript"></div>

  </body>
</html>
